| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

ProgramManagerWrapper.h
1 // ProgramManagerWrapper.h
3 //
5
6 namespace nkAstraeus::nkGraphicsWrap
7 {
11 class ProgramManagerWrapper final
12 {
13 public :
14
15 // Environment update
21 static void updateEnvironment (nkScripts::Environment* env) ;
22
23 // Callbacks
24 // Programs
35 static nkScripts::OutputValue createOrRetrieve (const nkScripts::DataStack& stack) ;
46 static nkScripts::OutputValue get (const nkScripts::DataStack& stack) ;
57 static nkScripts::OutputValue rename (const nkScripts::DataStack& stack) ;
68 static nkScripts::OutputValue erase (const nkScripts::DataStack& stack) ;
69 } ;
70 }
nkAstraeus::nkGraphicsWrap::ProgramManagerWrapper::erase
static nkScripts::OutputValue erase(const nkScripts::DataStack &stack)
nkScripts::Environment
Defines an environment in which scripts can execute.
Definition: Environment.h:14
nkAstraeus::nkGraphicsWrap::ProgramManagerWrapper
Wraps the nkGraphics::ProgramManager and offers functions for use in scripting.
Definition: ProgramManagerWrapper.h:12
nkMemory::BufferView
A view over data.
Definition: BufferView.h:18
nkAstraeus::nkGraphicsWrap::ProgramManagerWrapper::updateEnvironment
static void updateEnvironment(nkScripts::Environment *env)
nkAstraeus::nkGraphicsWrap::ProgramManagerWrapper::get
static nkScripts::OutputValue get(const nkScripts::DataStack &stack)
nkScripts::FunctionParameter
A function parameter, used within the stack of arguments.
Definition: FunctionParameter.h:25
nkAstraeus::nkGraphicsWrap::ProgramManagerWrapper::createOrRetrieve
static nkScripts::OutputValue createOrRetrieve(const nkScripts::DataStack &stack)
nkAstraeus::nkGraphicsWrap::ProgramManagerWrapper::rename
static nkScripts::OutputValue rename(const nkScripts::DataStack &stack)
nkAstraeus::nkGraphicsWrap
Encompasses the wrapping of nkGraphics for scripting.
Definition: BoundingBoxWrapper.h:7